@extends('admin.layout.main')

@section('content')
    <div class="breadcrumbs ace-save-state" id="breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="ace-icon fa fa-home home-icon"></i>
                <a href="#">首页</a>
            </li>
            <li class="active"><a href="{{ url('admin/user') }}">会员管理</a></li>
            <li class="active"><a href="{{ url('admin/user/add_user') }}">添加会员</a></li>
        </ul><!-- /.breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
		<span class="input-icon">
		<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
			<i class="ace-icon fa fa-search nav-search-icon"></i>
		</span>
            </form>
        </div><!-- /.nav-search -->
    </div>

    <div class="row">
        <div class="col-xs-12">
            <!-- PAGE CONTENT BEGINS -->
            <form class="form-horizontal" role="form" action="/admin/check_audit_info" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 您的真实姓名 </label>

                    <div class="col-sm-9">
                        <span id="form-field-1" class="col-xs-10 col-sm-5" style="margin-top: 9px;" >{{$data->name}}</span>
                        <input type="hidden" name="_token" value="{{csrf_token()}}"/>
                        <input type="hidden" name="uid" value="{{$id}}"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 身份证号 </label>

                    <div class="col-sm-9">
                        <span id="form-field-1" class="col-xs-10 col-sm-5" style="margin-top: 9px;">{{$data->indentity_card}}</span>
                    </div>
                </div>

                <div class="space-4"></div>


                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 身份证到期时间 </label>

                    <div class="col-sm-9">
                        <span id="form-field-1" class="col-xs-10 col-sm-5" style="margin-top: 9px;">{{$data->time}}</span>
                    </div>
                </div>

                <div class="space-4"></div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 身份证正面 </label>

                    <div class="col-sm-9">
                        <img name="front_photo" src="{{$data->front_card}}" width="200" height="100">
                    </div>
                </div>

                <div class="space-4"></div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 身份证反面 </label>

                    <div class="col-sm-9">
                        <img name="back_photo" src="{{$data->back_card}}" width="200" height="100">
                    </div>
                </div>

                <div class="space-4"></div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 手持身份证 </label>

                    <div class="col-sm-9">
                        <img name="back_photo" src="{{$data->hand_card}}" width="200" height="100">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 审核不通过原因： </label>

                    <div class="col-sm-9">
                        <input type="text" maxlength="30" id="form-field-1-1" name="note" placeholder="请填写审核不通过原因" class="col-xs-10 col-sm-5" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1-1"> 审核状态： </label>

                    <div class="col-sm-9" style="margin-top: 8px;">
                        <input type="radio" name="type" value="1">审核通过
                        <input type="radio" name="type" value="2">审核失败
                    </div>
                </div>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        {{--<input class="btn btn-info" type="submit">--}}
                        <button class="btn btn-info" type="submit" >
                            <i class="ace-icon fa fa-check bigger-110"></i>
                            提交
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    </div><!-- /.main-content -->
@endsection
